.header {
    height: 40px;
    background: black;
    border-bottom: 1px slide#ccc;
}

.top {
    width: 1200px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    color: #fff;
    ul{
        float: left;
        li{
            float: left;
            padding:0 10px;
        }
    }
    p{

        float: right;
        a{
            color: #fff;
            text-decoration: none;
        }
    }
}
.nav{
   height:115px;
   border-bottom: 1px solid#ccc; 
}
.nav .nav-first {
    width: 1200px;
    height: 115px;
    margin: 0 auto;
     
    img{
        width: 159px;
        height: 52px;
        float: left;
        margin-top: 31px;
        cursor: pointer;
    }
    ul{
        float: left;
        margin-left: 365px;
        li{
            float: left;
            line-height: 114px;
            margin: 0 15px;
            
            &:active{
                border-bottom: 2px solid #fa3d31;
                color: #fa3d31;
                line-height: 36px;
                margin-top: 40px;
            }
            a{
                text-decoration: none;
                color: black;
                
            }
        }
    }
    .nav2{
        width: 130px;
        display:inline-block;
        height: 38px;
        border: 1px solid #d8d7d7;
        float: right;
        margin-top: 35px;
        position: relative;
        cursor: pointer;
        img{
            width: 18px;
            height: 18px;
            float: left;
            margin-top: 10px;
            margin-left: 10px;
        }
        p{
            float: left;
            font-size: 14px;
            color: #fa3d31;
            margin-left: 12px;
            line-height: 38px;
        }
    }
}